import os
from pathlib import Path
current_file_path = Path(__file__).resolve()
directory_of_file = current_file_path.parent

#想要获取的作者主页
target_creator_url = r'https://www.douyin.com/user/MS4wLjABAAAAsPd6gdI_ZDATS8xW-qbduwBGNQKVlqClPQksZ3vg6BQ?is_search=0&list_name=follow&nt=1'
# cookie目录路径
cookie_dir=directory_of_file / 'cookie_file'
# 文件路径
CHROME_DRIVER_PATH =r"D:\谷歌下载\chromedriver-win64\chromedriver.exe"
JS_PATH = directory_of_file / 'utils\stealth.min.js'
target_url_list = [r'https://www.douyin.com/user/MS4wLjABAAAAsPd6gdI_ZDATS8xW-qbduwBGNQKVlqClPQksZ3vg6BQ?is_search=0&list_name=follow&nt=1']
douyin_upload_cookie_fload_path = directory_of_file / 'douyin_download'
douyin_upload_cookie_file_path =cookie_dir / 'douyin_creator_cookie.json'
douyin_download_cookie_path=cookie_dir / 'douyin_download_cookie.txt'
douyin_video_dir = directory_of_file / 'douyin_download\douyin_videos'
request_main_content_file_path=cookie_dir / 'request_main_content.json'

#视频的路径自定义，与上传的视频路径保持一致
# video_download_path = directory_of_file / 'media\douyin_videos'
video_download_path = r'D:\Programming_soft\auto_upload\video_auto_upload\videos\主页作品\走路摇zly\视频作品'


log_dir=directory_of_file / 'log_file'
#查询条件
query_video_time_diffence=48*60*60